# pem2mw

pem2mw Usage:

--c: Path/Filename of the certificate file (created by cert_write)

--r: Path/Filename of the CA certificate file

--p: Path/Filename of the private key file (created by gen_key)

--o: Net_Security.c as a reference

pem2mw requires special tag comments to locate the positions for the key strings:

```
// Server CA certificate(s)
const uint8_t NetSecurity_ServerCA[] =
//NS_SERVER_CA_START
"";
#warning "No server CA certificate specified"
//NS_SERVER_CA_END

// Server certificate
const uint8_t NetSecurity_ServerCert[] =
//NS_SERVER_CERT_START
"";
#warning "No server certificate specified"
//NS_SERVER_CERT_END


// Server private key
const uint8_t NetSecurity_ServerKey[] =
//NS_SERVER_KEY_START
"";
#warning "No server private key specified"

//NS_SERVER_KEY_END
```
